if($('.answer-form-inner div').length > 0) { 
$('.answer-form-inner div').html($('.answer-form-inner div').html().replace('Статус: Черновик','<span class="text-muted", style="font-size:13px !Important;">Статус: Черновик</span>'));
var File_size = $('.addfield-type-file .text-muted.small').text();
$('.addfield-type-file .text-muted.small').html(File_size.slice(0,1).toUpperCase() + File_size.slice(1));
$('.addfield-type-file_list .text-muted.small').html(File_size.slice(0,1).toUpperCase() + File_size.slice(1));
$('.answer-form-inner div .text-muted.small').html('Максимальный размер файла - 100мб');
var placeholder_hw = $("#lessonanswer-answer_text").attr('placeholder');
$("#lessonanswer-answer_text, .type-text, .type-string").attr('placeholder', placeholder_hw.slice(0,1).toUpperCase() + placeholder_hw.slice(1));
var placeholder_comm = $(".answer-comment.textarea-block textarea").attr('placeholder');
$(".answer-comment.textarea-block textarea").attr('placeholder', placeholder_comm.slice(0,1).toUpperCase() + placeholder_comm.slice(1));
var placeholder_ans = $(".comment-form-wrapper .new-comment-textarea").attr('placeholder')
$(".comment-form-wrapper .new-comment-textarea").attr('placeholder', placeholder_ans.slice(0,1).toUpperCase() + placeholder_ans.slice(1));
}

if($('.other-answers').length > 0) { 
$('.comment-cancel-edit-link').html('Отменить редактирование');
}

setInterval(function() {
if ($('.comment-wrapper.comments-container[style*="rgba"]').length > 0) {
var answer_color = $('.lesson-answer-comment').css("background-color");
$('.comment-wrapper.comments-container[style*="rgba"]').children('.lesson-answer-comment').css('background', 'transparent');
}

setTimeout(function() {
$('.lesson-answer-comment').css('background', answer_color);
}, 1000);
}, 100);


